-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IGNITE-16755 C++ Thin: Add user threadpool size to public configuration #9960
Conversation
@@ -743,6 +743,13 @@ namespace ignite | |||
* @return Number of logical processors. | |||
*/ | |||
IGNITE_IMPORT_EXPORT uint32_t GetNumberOfProcessors(); | |||
|
|||
/** | |||
* Get current processor thread count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Get current processor thread count. | |
* Get current process thread count. |
/** | ||
* Get current processor thread count. | ||
* | ||
* @return Current processor thread count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @return Current processor thread count. | |
* @return Current process thread count. |
@@ -652,6 +653,13 @@ namespace ignite | |||
* @return Number of logical processors. | |||
*/ | |||
IGNITE_IMPORT_EXPORT uint32_t GetNumberOfProcessors(); | |||
|
|||
/** | |||
* Get current processor thread count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Get current processor thread count. | |
* Get current process thread count. |
/** | ||
* Get current processor thread count. | ||
* | ||
* @return Current processor thread count. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @return Current processor thread count. | |
* @return Current process thread count. |
server.PushHandshakeResponse(true); | ||
server.Start(); | ||
|
||
int32_t threadsBefore = ignite::common::concurrent::GetThreadsCount(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GetThreadsCount
is used only for tests, should we keep it in the common
module?
IgniteClientConfiguration
The Contribution Checklist
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summary
whereXXXX
- number of JIRA issue.(see the Maintainers list)
the
green visa
attached to the JIRA ticket (see TC.Bot: Check PR)Notes
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.